package demo01;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-04-17
 * Time: 10:34
 */
public class Test01 {
    public static void func(int []arr) {
        int []arr2 = new int[] {11,12,13,14};
        arr = arr2;
    }
    public static void main(String[] args) {
        int []arr = {1,2,3,4,5,6,7,8,9,10};
        func(arr);
        System.out.println(Arrays.toString(arr));
    }
}
